<?php 
//echo "<pre>";print_r($all_post);echo "</pre>";
foreach ($all_share as $key => $share) {
?>
							<tr class="odd gradeX">
								<td>
									<input id="<?php echo $share['id']; ?>" type="checkbox" class="group-checkable" data-set="#all_share .checkboxes" <?php echo ($share['home_view_status']=='true')?'checked':''; ?>/>
								</td>
								<td>
									<a target="_blank" href="user_share/detail/<?php echo $share['id']; ?>"><?php echo $share['post_excerpt']; ?></a>
								</td>
								<td>
									 <?php echo $share['email']; ?>
								</td>
								<td>
									 <?php 
									 	if($share['status'] == '1'){
									 		echo $this->lang->line('share_status_on');
									 	}
									 	elseif($share['status'] == '2'){ // 拒絕
									 		echo '<span class="label label-sm label-warning">'.$this->lang->line('share_status_reject').'</span>';
									 	}
									 	else{//待審
									 		echo '<span class="label label-sm label-danger">'.$this->lang->line('share_status_off').'</span>';
									 	}
									 ?>
								</td>
								<td class="center">
									 <?php echo $share['modified_time']; ?>
								</td>
								<td>
									<?php
									if($share['status'] == '1'){
									?>
									<!--<a class="btn default btn-xs purple" href="javascript:show_accept_form(<?php echo $share['id']; ?>,'<?php echo $share['email']; ?>','<?php echo $share['post_excerpt']; ?>');"> 接受<span class="delete_loading" id="loading_<?php echo $key; ?>"><img src="/assets/img/loading-spinner-default.gif"/></a>-->
									<a class="btn default btn-xs black" href="javascript:show_reject_form('<?php echo $share['id']; ?>','<?php echo $share['email']; ?>','<?php echo $share['post_excerpt']; ?>');"> 拒絕</a>
									<?php } ?>
								</td>
							</tr>
<?php 
}
?>